package com.alatus.springAI.Bean;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import java.util.Date;

/**
 * EasyExcel产品价格与促销信息数据Bean
 */
@Data // Lombok注解，自动生成getter、setter等方法
public class PricePromoData {

    // 使用ExcelProperty注解指定列的索引和标题
    @ExcelProperty(index = 0, value = "SKU")
    private String sku;

    @ExcelProperty(index = 1, value = "MSRP")
    private Float msrp;

    @ExcelProperty(index = 2, value = "Selling Price")
    private String sellingPrice;

    @ExcelProperty(index = 3, value = "Promo Setting Action")
    private String promoSettingAction;

    @ExcelProperty(index = 4, value = "Price Placement")
    private String pricePlacement;

    @ExcelProperty(index = 5, value = "Promo Type")
    private String promoType;

    @ExcelProperty(index = 6, value = "Promo Price")
    private Float promoPrice;

    @ExcelProperty(index = 7, value = "Promo Price Start Date")
    private Date promoPriceStartDate;

    @ExcelProperty(index = 8, value = "Promo Price End Date")
    private Date promoPriceEndDate;
}
